package com.zzyl.service;

import com.zzyl.entity.NursingProject;
import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingProjectDto;
import com.zzyl.vo.NursingProjectVo;

import java.util.List;

public interface NursingProjectService {

    PageResponse<NursingProjectVo> searchByPage(String name, Integer status, Integer pageNum, Integer pageSize);

    void addNursing(NursingProjectDto npj);

    NursingProject search(Long id);

    void update(NursingProjectDto nursingProjectVo);

    List<NursingProjectVo> listAll();

    void idAndStatus(Long id, Integer status);

    void delete(Long id);

    /**
     * 客户端分页查询护理项目列表
     * @param pageNum
     * @param pageSize
     * @param name
     * @param status
     * @return
     */
    PageResponse<NursingProjectVo> searchCustomerByPage(Integer pageNum, Integer pageSize, String name, Integer status);

    /**
     * 客户端分页查询护理项目列表
     */
    NursingProjectVo searchCustomerById(Long id);
}
